package com.qf.qfuser.feigns;

import com.qf.qfcommons.pojo.R;
import org.springframework.stereotype.Component;

//@Component
public class OrderServiceFeignFallback implements OrderServiceFeign{
    @Override
    public R findByUid(Integer id) {
        //执行的降级逻辑
        return R.error().putMsg("服务器忙，稍后重试，Feign....");
    }
}
